package com.xdcplus.web.common.pojo.vo.pm;

import com.xdcplus.mp.domain.oracle.Base;
import com.xdcplus.web.common.pojo.vo.bd.BdMaterialVO;
import com.xdcplus.web.common.pojo.vo.bd.BdPathiVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 工单表(PmWo)表VO类
 * 
 * @author Fish.Fei
 * @since 2023-02-03 15:54:39
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "")
@SuppressWarnings("serial")
public class PmWoVO extends Base implements Serializable {
    private static final long serialVersionUID = -74745111298500973L;

    @ApiModelProperty("工单类型 生产工单  返工工单")
    private String woCate;

    @ApiModelProperty("工单状态")
    private String woStatus;

    @ApiModelProperty("工单原计划数量（SAP同步数量）")
    private Long adtPrdQty;
    @ApiModelProperty("第一片投产时间")
    private Timestamp actStbTimestamp;

    @ApiModelProperty("拆包数量（分片拆包数量）")
    private Long rlPrdQty;

    @ApiModelProperty("下线数量（测试分选的数量）")
    private Long compPrdQty;

    @ApiModelProperty("已入库数量")
    private Long whInPrdQty;

    @ApiModelProperty("返工数量")
    private Long defectPrdQty;

    @ApiModelProperty("碎片数量")
    private Long scrapPrdQty;

    @ApiModelProperty("退料总数")
    private Long rwPrdQty;

    @ApiModelProperty("工单描述")
    private String woDsc;

    @ApiModelProperty("工艺路线ID")
    private Long pathiIdFk;

    @ApiModelProperty("产品ID")
    private Long productIdFk;

    @ApiModelProperty("是否删除")
    private Long deleted;

    @ApiModelProperty("数据版本")
    private Long version;


    @ApiModelProperty("产线描述")
    private String lineDesc;

    @ApiModelProperty("工单编号")
    private String woCode;

    private BdMaterialVO bdMaterialVO;

    private BdPathiVO bdPathiVO;


    @ApiModelProperty("公司代码")
    private String bukrs;
    @ApiModelProperty("工厂")
    private String werks;

    @ApiModelProperty("订单类型")
    private String orderType;
    @ApiModelProperty("订单类型描述")
    private String orderCate;
    @ApiModelProperty("创建日期")
    private String orderDate;
    @ApiModelProperty("基本完成日期")
    private String baseCompleteDate;
    @ApiModelProperty("订单状态")
    private String orderStatus;

}
